home *** CD-ROM | disk | FTP | other *** search
Modula Implementation | 1988-02-13 | 537 b | 27 lines |
- IMPLEMENTATION MODULE Print;
-
- IMPORT GEMDOS;
-
- (********************************************************************)
-
- PROCEDURE String ( VAR Item : ARRAY OF CHAR );
-
- CONST
- CR = 15C;
- LF = 12C;
-
- VAR Index : CARDINAL;
-
- BEGIN
- Index := 0;
- WHILE ((Index <= HIGH (Item)) AND (Item[Index] <> CHR (0))) DO
- GEMDOS.PrnOut ( Item[Index] );
- INC (Index);
- END (* DO *);
- GEMDOS.PrnOut ( CR );
- GEMDOS.PrnOut ( LF );
- END String;
-
- END Print.
-
-